package com.dragon.modules.yuegou.model.member;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class MemberGradeSetModel {

    /** [枚举]等级规则：0-成长值-GROWTH、1-指定条件-SPECIFIED */
    @ApiModelProperty("[枚举]等级规则：0-成长值-GROWTH、1-指定条件-SPECIFIED")
    private Integer gradeRule;

    /** 会员等级 */
    @ApiModelProperty("会员等级")
    private String name;

    /** 成长值范围起 */
    @ApiModelProperty("成长值范围起")
    private Long scoreStart;

    /** 成长值范围止 */
    @ApiModelProperty("成长值范围止")
    private Long scoreEnd;

    /** 等级编号 */
    @ApiModelProperty("等级编号")
    private Integer serialNumber;

    /** [枚举]等级条件：0-满足任一条件-ANY、1-满足所有条件-ALL */
    @ApiModelProperty("[枚举]等级条件：0-满足任一条件-ANY、1-满足所有条件-ALL")
    protected Integer gradeCondition;

    @ApiModelProperty("会员卡等级条件参数列表")
    private List<String> gradeParams;

    /** 是否是初始等级：0-false-否、1-true-是 */
    @ApiModelProperty("是否是初始等级：0-false-否、1-true-是")
    protected Boolean origin;

    /** 升级规则描述 */
    @ApiModelProperty("升级规则描述")
    private String desc;

    public Integer getGradeRule() {
        return gradeRule;
    }

    public void setGradeRule(Integer gradeRule) {
        this.gradeRule = gradeRule;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getScoreStart() {
        return scoreStart;
    }

    public void setScoreStart(Long scoreStart) {
        this.scoreStart = scoreStart;
    }

    public Long getScoreEnd() {
        return scoreEnd;
    }

    public void setScoreEnd(Long scoreEnd) {
        this.scoreEnd = scoreEnd;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

    public Integer getGradeCondition() {
        return gradeCondition;
    }

    public void setGradeCondition(Integer gradeCondition) {
        this.gradeCondition = gradeCondition;
    }

    public List<String> getGradeParams() {
        return gradeParams;
    }

    public void setGradeParams(List<String> gradeParams) {
        this.gradeParams = gradeParams;
    }

    public Boolean getOrigin() {
        return origin;
    }

    public void setOrigin(Boolean origin) {
        this.origin = origin;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
